/**
 * @author lteng
 * @time 2022-06-17 19:07:27 
 */
 
package liteng.study.cn.stuscore.service;

import java.util.List;

import liteng.study.cn.stuscore.comm.Page;
import liteng.study.cn.stuscore.entity.EType;

public interface ETypeService extends Service<EType> {
	/**
	 * 
	 * @param name
	 * @return
	 */
	public boolean isExistEType(String name);
	
	/**
	 * 
	 * @param name
	 * @return
	 */
	public EType getETypeByName(String name);
	
	/**
	 * 
	 * @param padeIndex
	 * @param PageSize
	 * @return
	 */
	public Page getPageETypes(int padeIndex,int PageSize);
	
	/**
	 * 
	 * @param padeIndex
	 * @param PageSize
	 * @param name
	 * @return
	 */
	public Page getPageETypes(int padeIndex,int PageSize,String name);
	
	/**
	 * 
	 * @return
	 */
	public List<EType> getETypes();
}
